package com.thinkit.bigdata.web.dao.bus;

import com.thinkit.bigdata.core.feature.orm.mybatis.Page;
import com.thinkit.bigdata.web.model.bus.BusWork;
import com.thinkit.bigdata.web.model.bus.BusWorkExample;
import com.thinkit.bigdata.web.model.bus.BusWorkWithBLOBs;
import java.util.List;
import java.util.Map;

import org.apache.ibatis.annotations.Param;

public interface BusWorkMapper {
    int countByExample(BusWorkExample example);

    int deleteByExample(BusWorkExample example);

    int deleteByPrimaryKey(Long id);

    int insert(BusWorkWithBLOBs record);

    int insertSelective(BusWorkWithBLOBs record);

    List<BusWorkWithBLOBs> selectByExampleWithBLOBs(BusWorkExample example);

    List<BusWork> selectByExample(BusWorkExample example);

    BusWorkWithBLOBs selectByPrimaryKey(Long id);

    int updateByExampleSelective(@Param("record") BusWorkWithBLOBs record, @Param("example") BusWorkExample example);

    int updateByExampleWithBLOBs(@Param("record") BusWorkWithBLOBs record, @Param("example") BusWorkExample example);

    int updateByExample(@Param("record") BusWork record, @Param("example") BusWorkExample example);

    int updateByPrimaryKeySelective(BusWorkWithBLOBs record);

    int updateByPrimaryKeyWithBLOBs(BusWorkWithBLOBs record);

    int updateByPrimaryKey(BusWork record);




    List<BusWorkWithBLOBs> selectByExample(Page<BusWorkWithBLOBs> page, BusWorkExample example);

    List<BusWorkWithBLOBs> selectByExampleWithBLOBs(Page<BusWorkWithBLOBs> page, BusWorkExample example);

    List<Map<String, Object>> selectWorkInfos(Map<String, Object> map);

    List<Map<String, Object>> selectWorkInfos(Page page, Map<String, Object> map);
}